<template>
  <el-dialog
    title="核实资费"
    :visible.sync="visible"
    width="70%"
    lock-scroll
    :before-close="handleClose"
  >
    <div>
      <el-form :model="formData" ref="formData" label-width="130px">
        <fieldset class="contain-box">
          <legend class="contain-title">重新核实资费</legend>
          <el-row>
            <el-col :span="12" :offset="1">
              <el-form-item
                label="重新核实资费原因:"
                prop="reAmountCause"
              >
                <el-input
                  type="textarea"
                  :rows="2"
                  placeholder="请输入内容"
                  v-model="formData.reAmountCause"
                >
                </el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row class="radioBtn">
            <el-col :span="12" :offset="1">
              <el-radio-group v-model="formData.radioAmount">
                <el-radio :label="1">重新核实甲端费用</el-radio>
                <el-radio :label="2">重新核实乙端费用</el-radio>
                <el-radio :label="3">重新核实两端费用</el-radio>
              </el-radio-group>
            </el-col>
          </el-row>
        </fieldset>
      </el-form>
    </div>
    <span slot="footer" class="dialog-footer">
      <div class="text-c">
        <el-button @click="closeDialog">取 消</el-button>
        <el-button type="primary" @click="closeDialog"
          >确 定</el-button
        >
      </div>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: {
    visible: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      formData: {},
    };
  },

  components: {},

  computed: {},

  mounted() {},

  methods: {
     closeDialog(){
        this.$emit("closeDialog");
     },
     handleClose(){
        this.$emit("closeDialog");
     }
  },
};
</script>
<style lang='scss' scoped>
.contain-box {
  padding: 0.2rem;
  border: 1px solid #f56f3c;
}
.contain-title {
  margin-left: 0.4rem;
  padding: 0 0.1rem;
}
.radioBtn {
  padding-left: 0.2rem;
}
</style>